FPS = 15

def enum(**enums):
    return type('Enum', (), enums)

TroopType = enum(SOLDIER = "soldier", SNIPER = "sniper", MEDIC = "medic", SCOUT = "scout", MELEE = "melee", HEAVY = "heavy")

RewardType = enum(NONE = 0, money = 1, XP = 2, SCIENCE = 3, ARMOUR = 4, WEAPON = 5)

RoomType = enum(EMPTY = 0, SHAFT = 1, MONEY = 2, SCIENCE = 3, MED_BAYS = 4, POWER = 5, BARRACKS = 6)

State = enum(MAIN = 0, CHARSELECT = 1, MISSIONSELECT = 2, BUILDINGSELECT = 3, ROOMSELECT = 4)


FPS = 15
WINDOWWIDTH = 1281
WINDOWHEIGHT = 721
FLOORNUM = 7
ROOMNUM = 5
assert WINDOWWIDTH % FLOORNUM == 0, "Window width must be a multiple of cell size."
assert WINDOWHEIGHT % FLOORNUM == 0, "Window height must be a multiple of cell size."
CELLWIDTH = int(WINDOWWIDTH / FLOORNUM)
CELLHEIGHT = int(WINDOWHEIGHT / FLOORNUM)